package com.example.b_308.myapplication.view.main.address.search;

import android.os.Bundle;
import android.view.View;

import com.example.b_308.myapplication.R;
import com.example.b_308.myapplication.comment.utils.Global;
import com.example.b_308.myapplication.view.base.BaseActivity;

/**
 * Created by B-308 on 2017/11/22.
 */
public class CustomersActivity extends BaseActivity {
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.setContentView(R.layout.activity_customers);
        getTitleBar().setTitle(Global.getString(R.string.customer_details));
        getTitleBar().setSetting(Global.getString(R.string.edit));
        getTitleBar().getIv_setting().setVisibility(View.GONE);
        getTitleBar().getTv_return().setVisibility(View.GONE);

        getTitleBar().getTv_setting().setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                tend2(UpdateCustomerActivity.class);
            }
        });
    }

    @Override
    public void fail(String message) {

    }
}
